<ion-header>
  <ion-navbar>
    <ion-title>注册</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <ion-list inset>
    <ion-item>
      <ion-label>账户</ion-label>
      <ion-input type="text" value="" [(ngModel)]="this.username" (blur)="isExist()"></ion-input>
    </ion-item>


    <ion-item>
      <ion-label>密码</ion-label>
      <ion-input type="password" value="" [(ngModel)]="this.password1"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>再次输入密码</ion-label>
      <ion-input type="password" value="" [(ngModel)]="this.password2" (keyup)="reInput($event)" (blur)="isReInputCorrect()"></ion-input>
    </ion-item>


  </ion-list>
  <div align="center">
    <button ion-button (click)="doSubmit()" block>完成</button>
  </div>
  <div align="center">
    <button ion-button outline block (click)="reset()">重置</button>
  </div>
</ion-content>
